Skip to content

added a new RAII callbacks handler/wrapper pair for async callbacks management#46050

Merged
RyanTheOptimist merged 4 commits into
envoyproxy:mainfrom
wbpcode:dev-callbacks-handler
Jul 15, 2026
Merged

added a new RAII callbacks handler/wrapper pair for async callbacks management#46050
RyanTheOptimist merged 4 commits into
envoyproxy:mainfrom
wbpcode:dev-callbacks-handler

Conversation

@wbpcode

@wbpcode wbpcode commented Jul 9, 2026

Copy link
Copy Markdown
Member

Commit Message: added a new RAII callbacks handler/wrapper pair for async callbacks management
Additional Description:

A minor tool that haven't been used at anywhere. Stack only, no smart pointer and so on.

I will migrate some non-important async callbacks to use this new tool at follow up PR to reduce potential UAF in our async callback system.

Risk Level: low.
Testing: unit.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

…anagement

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
wbpcode added 2 commits July 9, 2026 14:20
Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
@wbpcode

wbpcode commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

/retest

@RyanTheOptimist RyanTheOptimist left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooooooh! This is magnificent!

Comment thread source/common/common/callbacks_handler.h Outdated
Signed-off-by: wbpcode <wbphub@gmail.com>
@RyanTheOptimist
RyanTheOptimist merged commit ff1664d into envoyproxy:main Jul 15, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants